package com.six.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * @author : 张重阳
 * @date : 2021-11-28 21:30
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@Builder
@ApiModel("工具")
public class Tool {

    @ApiModelProperty("工具编号")
    private Integer id;

    @ApiModelProperty("推送人")
    private String account;

    @ApiModelProperty("推送人姓名")
    private String userName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("推送时间")
    private Date date;

    @ApiModelProperty("推送状态")
    private Integer state;

    @ApiModelProperty("所属会议编号")
    private Integer conferenceId;

    @ApiModelProperty("所属会议名称")
    private String conferenceName;

    @ApiModelProperty("所属议题")
    @JsonProperty(value = "agenda")
    private String belongAgenda;

    @ApiModelProperty("所属议题名称")
    private String agendaName;
}
